<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Error extends CI_Controller {
    private $data = array();

    public function  __construct() {
        parent::__construct();
        $this->load->helper("url");
        $this->load->library("ci_smarty");
        $this->config->set_item('compress_output', TRUE);
        
        $this->data['base_url'] = base_url();
        $this->data['root_url'] = $this->config->item('root_url');
    }

    public function view404()
    {
        $this->ci_smarty->view404();
    }
}